#pragma once
#include "Engine.h"
#include "Block.h"
#include "voxelBrush.h"


class CVoxelDemo
{
public:
	CVoxelDemo();
	~CVoxelDemo();
	void init(mini::CEngine* pEngine);
	bool WndProc(UINT message, WPARAM wParam, LPARAM lParam);

private:
	mini::CTerrainBlock* mpTerrainBlock = nullptr;
	mini::CVoxelBrush* mpBrush = nullptr;
	mini::CEngine* mpEngine = nullptr;
	int mMouseX = 0;
	int mMouseY = 0;
	bool	mbUserBrush = false;
};
